﻿@model Lehnet.Models.MusteriPersonel
<script src="@Url.Content("~/Scripts/jquery-1.6.2.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    <h2>@ViewBag.Message</h2> 
    <fieldset>
        <legend>Müşteri Personeli Kayıt</legend>
        @Html.HiddenFor(p => p.Id)
        @Html.HiddenFor(p => p.MusteriId)
        <table width="100%">
            <tr>
                <td>Ad</td>
                <td>:</td>
                <td>@Html.EditorFor(model => model.Ad)</td>
            </tr>
            <tr>
                <td>Soyad</td>
                <td>:</td>
                <td>@Html.EditorFor(model => model.Soyad)</td>
            </tr>
            <tr>
                <td>EMail1</td>
                <td>:</td>
                <td>@Html.EditorFor(model => model.EMail1)</td>
            </tr>
            <tr>
                <td>EMail2</td>
                <td>:</td>
                <td>@Html.EditorFor(model => model.EMail2)</td>
            </tr>
            <tr>
                <td>Görev</td>
                <td>:</td>
                <td>@Html.EditorFor(model => model.Gorev)</td>
            </tr>
            <tr>
                <td>Kullanıcı Adı</td>
                <td>:</td>
                <td>@Html.EditorFor(model => model.KullaniciAdi)</td>
            </tr>
            <tr>
                <td>Şifre</td>
                <td>:</td>
                <td>@Html.EditorFor(model => model.Sifre)</td>
            </tr>
            <tr>
                <td>Açıklama</td>
                <td>:</td>
                <td>@Html.EditorFor(model => model.Aciklama)</td>
            </tr>
            <tr>
                <td colspan="6">
                    <input type="submit" value="Kaydet" /></td>

            </tr>
        </table>
    </fieldset>
}

<div>
    @Html.ActionLink("Listeye geri dön", "Index", new { id = @Model.MusteriId })
</div>
